Optimal. Leaf size=51 \[ \frac {\tanh ^{-1}\left (\frac {a+b \sin ^2(c+d x)}{\sqrt {a+b} \sqrt {a+b \sin ^4(c+d x)}}\right )}{2 d \sqrt {a+b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {3229, 725, 206} \[ \frac {\tanh ^{-1}\left (\frac {a+b \sin ^2(c+d x)}{\sqrt {a+b} \sqrt {a+b \sin ^4(c+d x)}}\right )}{2 d \sqrt {a+b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 725
Rule 3229
Rubi steps
\begin {align*} \int \frac {\tan (c+d x)}{\sqrt {a+b \sin ^4(c+d x)}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1}{(1-x) \sqrt {a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{2 d}\\ &=-\frac {\operatorname {Subst}\left (\int \frac {1}{a+b-x^2} \, dx,x,\frac {-a-b \sin ^2(c+d x)}{\sqrt {a+b \sin ^4(c+d x)}}\right )}{2 d}\\ &=\frac {\tanh ^{-1}\left (\frac {a+b \sin ^2(c+d x)}{\sqrt {a+b} \sqrt {a+b \sin ^4(c+d x)}}\right )}{2 \sqrt {a+b} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 65, normalized size = 1.27 \[ \frac {\tanh ^{-1}\left (\frac {a-b \cos ^2(c+d x)+b}{\sqrt {a+b} \sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}}\right )}{2 d \sqrt {a+b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.60, size = 240, normalized size = 4.71 \[ \left [\frac {\log \left (\frac {{\left (a b + 2 \, b^{2}\right )} \cos \left (d x + c\right )^{4} - 4 \, {\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{2} - 2 \, \sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} {\left (b \cos \left (d x + c\right )^{2} - a - b\right )} \sqrt {a + b} + 2 \, a^{2} + 4 \, a b + 2 \, b^{2}}{\cos \left (d x + c\right )^{4}}\right )}{4 \, \sqrt {a + b} d}, \frac {\sqrt {-a - b} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b} {\left (b \cos \left (d x + c\right )^{2} - a - b\right )} \sqrt {-a - b}}{{\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{2} + a^{2} + 2 \, a b + b^{2}}\right )}{2 \, {\left (a + b\right )} d}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan \left (d x + c\right )}{\sqrt {b \sin \left (d x + c\right )^{4} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.51, size = 72, normalized size = 1.41 \[ \frac {\ln \left (\frac {2 a +2 b -2 b \left (\cos ^{2}\left (d x +c \right )\right )+2 \sqrt {a +b}\, \sqrt {a +b -2 b \left (\cos ^{2}\left (d x +c \right )\right )+b \left (\cos ^{4}\left (d x +c \right )\right )}}{\cos \left (d x +c \right )^{2}}\right )}{2 d \sqrt {a +b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan \left (d x + c\right )}{\sqrt {b \sin \left (d x + c\right )^{4} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\mathrm {tan}\left (c+d\,x\right )}{\sqrt {b\,{\sin \left (c+d\,x\right )}^4+a}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan {\left (c + d x \right )}}{\sqrt {a + b \sin ^{4}{\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________